﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

class ConvertsEncodings
{
    static void Main()
    {
        Console.Write("Enter string:");
        string str = Console.ReadLine();
        foreach (var encodingInfo in Encoding.GetEncodings())
        {
            Encoding encoder = Encoding.GetEncoding(encodingInfo.Name);
            byte[] encoded = encoder.GetBytes(str);
            Console.WriteLine(BitConverter.ToString(encoded));
        }
    }
}

